package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderitemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Component
@FeignClient("gulimall-cart")
public interface CartFeignService {
    @GetMapping("/currentUserItems")
    public List<OrderitemVo> getCurrentUserItems();
}
